Component({
  properties: {
    show: {
      type: Boolean,
      value: false
    }
  },
  data: {},
  methods: {
    delFile({ currentTarget: { dataset: { key, item, index } } }) {
      this.triggerEvent('delFile', { currentTarget: { dataset: { key, item, index } } })
    }
  }
})